package com.wmw.DataPool;

import java.io.Serializable;


public class OrdersForm implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -5954562840087747378L;
	private int _id;
	private OrdersFormItem[] _items;
	private float _totalPrice;
	private String _phoneNumber;
	private String _address;
	private int _totalNum;
	private String _time;
	private String _remark;

	public OrdersForm(OrdersFormItem[] items, int id, float totalPirce, int totalNum,
			String phoneNumber, String address, String time, String remark) {
		_items = new OrdersFormItem[items.length];
		_id = id;
		System.arraycopy(items, 0, _items, 0, items.length); 
		_totalPrice = totalPirce;
		_totalNum = totalNum;
		_phoneNumber = phoneNumber;
		_address = address;
		_time = time;
		_remark = remark;
	}

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public int get_totalNum() {
		return _totalNum;
	}

	public void set_totalNum(int _totalNum) {
		this._totalNum = _totalNum;
	}

	public String get_address() {
		return _address;
	}

	public void set_address(String _address) {
		this._address = _address;
	}

	public String get_phoneNumber() {
		return _phoneNumber;
	}

	public void set_phoneNumber(String _phoneNumber) {
		this._phoneNumber = _phoneNumber;
	}

	public String get_time() {
		return _time;
	}

	public void set_time(String _time) {
		this._time = _time;
	}

	public String get_remark() {
		return _remark;
	}

	public void set_remark(String _remark) {
		this._remark = _remark;
	}

	public float get_totalPrice() {
		return _totalPrice;
	}

	public void set_totalPrice(float _totalPrice) {
		this._totalPrice = _totalPrice;
	}

	public OrdersFormItem[] get_items() {
		return _items;
	}

	public void set_items(OrdersFormItem[] _items) {
		this._items = _items;
	}
}
